<?php

class Dwoo_Plugin_include_javascript extends Dwoo_Plugin { 
	public function process($file) {
		$execContainer = $this->dwoo->readVarInto('container', $this->dwoo->getData());
		$html = sprintf('<script type="text/javascript" src="%s"></script>', $file);
		$execContainer->appendAttribute('additionalHeaders', $html, 'org.welcomescreen');
		return '';
	}
}

?>